package com.mc.moring.core

import com.mc.moring.util.SPUtils
import java.util.UUID

object UUIDCoreData {

    fun getUUID(): String {
        var uuid = SPUtils.getUUID()
        if (!uuid.isNullOrEmpty()) return uuid
        uuid = UUID.randomUUID().toString()
        SPUtils.setUUID(uuid)
        return uuid
    }

}